<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2017/8/14
  Time: 11:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>学院管理</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/css/base.css">
</head>
<body>
<div class="layui-layout layui-layout-admin">
    <%@ include file="../common/header.jsp" %>
    <%@ include file="../common/leftnav.jsp" %>
    <!-- 管理后台主体BODY部分 -->
    <div class="layui-body site-demo">
        <div>
            <div>
                <table class="layui-table" lay-even id="collageTable">
                    <col width="5%">
                    <col width="10%">
                    <col width="12%">
                    <col width ="43%">
                    <col width="9%">
                    <col width="9%">
                    <col width="12%">
                    <thead>
                    <tr>
                        <td colspan="11" style="text-align: right">
                            <button class="layui-btn layui-btn-normal" id="addCollage">添加信息</button>
                        </td>
                    </tr>
                    <tr>
                        <th>编号</th>
                        <th>名称</th>
                        <th>办公地址</th>
                        <th>简介</th>
                        <th>创建时间</th>
                        <th>更新时间</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    </tbody>
                </table>
            </div>
            <div id="collagePageCtrl" class="text-center"></div>
        </div>
    </div>
</div>
<!-- 弹窗 -->
<div id="collageForm" class="dialog-panel">
    <form id="addCollageForm" class="layui-form" lay-filter="addCollageForm">
        <input name="id" type="hidden" value="">
        <div class="layui-form-item">
            <div class="layui-block">
                <label class="layui-form-label">学院编号</label>
                <div class="layui-input-block">
                    <input type="text" id="collageId" name="collageId"class="layui-input"/>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-block">
                <label class="layui-form-label">学院名称</label>
                <div class="layui-input-block">
                    <input type="text" id="collageName" name = "collageName"class="layui-input"/>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-block">
                <label class="layui-form-label">学院地址</label>
                <div class="layui-input-block">
                    <input type="text" id="address" name="address"class="layui-input"/>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">简介</label>
            <div class="layui-input-block">
                <script id="content" type="text/plain" style="width:570px;height:200px;"></script>
            </div>
        </div>
    </form>
</div>

<!--右键菜单的源-->
<script src="/layui/layui.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/ueditor/ueditor.all.min.js"> </script>
<script type="text/javascript" charset="utf-8" src="/js/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript">
    layui.config({
        base: '/js/module/'
    })
</script>
<script src="/js/ui/collageUI.js"></script>
</body>
</html>
